-
Couldn't load subscription status.
- Fork 21
treehouses message gitter configure apitoken (fixes #2122)
#2123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
modules/message.sh
Outdated
| echo " $BASENAME message gitter apitoken" | ||
| echo " Check for API token for gitter" | ||
| echo | ||
| echo " $BASENAME message gitter authorize \"1234567890\"" | ||
| echo " Sets and saves API token" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
instead of this:
speak about success
and show api token
modules/message.sh
Outdated
| else | ||
| echo "You do not have a gitter apitoken setup." | ||
| echo "For instructions to configure your gitter apitoken" | ||
| echo "Please run: $BASENAME message gitter apitoken" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This error message could also run $BASENAME message gitter apitoken at the end since that's the only decision path and lowers the drop-off rate.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will test that out, thanks.
modules/message.sh
Outdated
| get_apitoken gitter | ||
| echo | ||
| echo "You have successfully configured your Gitter apitoken." | ||
| echo "Now you must provide a subcommand for $BASENAME message gitter listed below:" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This could also summarize the subcommands in one line:
e.g.
"Now you must provide a subcommand for $BASENAME message gitter [channels|send|show|read|mark] listed below:"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
High quality content™.
No description provided.